﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Operator
{
    class Program
    {
        static void Main(string[] args)
        {
            /*
            int x = 5;
            Console.WriteLine("Print x\t\t: " + x);
            Console.WriteLine("Postincrement\t: " + x++);
            Console.WriteLine("Print x\t\t: " + x);
            Console.WriteLine("Preincrement\t: " + ++x);
            Console.WriteLine("Print x\t\t: " + x);

            for (int y = 0; y < 3; y++ )
            {
                Console.WriteLine("Loop " + y);
            }

            for (int y = 0; y < 3; ++y)
            {
                Console.WriteLine("2nd Loop " + y);
            } */

            int x = 10;
            Console.WriteLine(++x + x);
            Console.WriteLine(x-- + x + ++x);
            Console.WriteLine(++x + x + x--);
            Console.WriteLine(--x + x++ - x--);
            Console.WriteLine(x-- + x + ++x);


        }
    }
}
